Hello,

I'm receiving in the contact field at the registration moment the following 
information:

Contact:: 
sip:[email protected]:49641;app-id=com.hello.network.prod;pn-type=apple;pn-tok=C749BC1D09AA73E8504C71EF1733059031827EE0865EC129101DB51AAAAAAAAA;pn-msg-str=IC_SIL;pn-call-str=IC_SIL;pn-call-snd=empty;pn-msg-snd=msg.caf;transport=tcp

Is there any way to parse that information and store each value in different DB 
columns like:

Contact=sip:[email protected]:49641
app-id=com.hello.network.prod
pn-type=apple
pn-tok=C749BC1D09AA73E8504C71EF1733059031827EE0865EC129101DB51AAAAAAAAA
pn-msg-str=IC_SIL
pn-call-str=IC_SIL
pn-call-snd=empty
pn-msg-snd=msg.caf
transport=tcp

I've tried with $ci and $ci.field but couldn't get it.

Thanks,

Leo 
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to